def bin_search(arr, num):
    if len(arr) == 1:
        if arr[0] == num:
            print("找到了")
            # return arr[0]
        else:
            print("未找到")
            # return None
    # new_a = arr[:]

    elif num == bin_search(arr[0:len(arr)//2+1],num):
        return num
    else:
        return bin_search(arr[len(arr)//2-1:len(arr)],num)


lists = [i**2 for i in range(8,10)]
print(lists)
# print(bin_search(lists,64))